package com.kang.bean;

import java.io.Serializable;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * user_role
 * @author
 */
@Data
public class UserRole implements Serializable {
    /**
     * 用户角色配置表
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 用户id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    /**
     * 角色代码
     */
    private String roleCode;

    private static final long serialVersionUID = 1L;
}
